home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Inventor Labs: Transportation
/
InventorLabs - Transportation.iso
/
pc
/
builders
/
media
/
netacess
/
hminet.dir
/
00007_Script_7
< prev
next >
Wrap
Text File
|
1997-04-04
|
2KB
|
73 lines
on exitFrame
global WebBrowser
--
-- stay on this frame as long as the installation
-- program is running. Otherwise go on to either
-- launch the web or return to the start
--
if the machineType = 256 then
if WebBrowser(mCheckInstall) = 1 then
go frame the frame
else
set installstat = WebBrowser(mGetWebAccess)
if installstat = 1 then
--
-- AOL is the selected browser
set the text of cast "Status" to "Initiate AOL Launch"
go "AOLTest"
else if installstat = 0 then
--
-- No access was installed
set the text of cast "Status" to "Installation Canceled"
go "Start"
else
--
-- A Web Browser was instaled
set the text of cast "Status" to "Initiate Web Launch"
go "Launch"
end if
end if
else
--
-- mac test sequence
--
if Browser("InstallerRunning") = 1 then
go frame the frame
else
--
-- Check to see if AOL is being used
--
-- each of the AOLxxxx XFNC methods returns an OSErr
-- if you get noErr (0), then it's the equivalent of boolean true
-- for instance: AOLChosen = 0 means AOL is the chosen browser
put Browser( "AOLChosen" ) into myStatusErr
if myStatusErr = 0 then
--
-- AOL is the selected browser
set the text of cast "Status" to "Initiate AOL Launch"
go "AOLTest"
else
if Browser("InstallerRunning") = 0 then
--
-- A Web Browser was instaled
set the text of cast "Status" to "Initiate Web Launch"
go "Launch"
else
--
-- No access was installed
set the text of cast "Status" to "Installation Canceled"
go "Start"
end if
end if
end if -- installer is not running
end if
end